package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.support.UserTicketVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

/**
 * @author dalong
 * @date 2021-05-19 20:43
 */
@Data
public class AdminAuthLoginRspVO implements Serializable {
    private static final long serialVersionUID = 20809004887899747L;
    /**
     * 后台管理账户id
     */
    @JsonProperty(value = "admin_id")
    private Integer adminId;
    /**
     * 管理账户名
     */
    @JsonProperty(value = "admin_name")
    private String adminName;
    /**
     * 管理账户昵称
     */
    @JsonProperty(value = "nick_name")
    private String nickName;
    /**
     * 分发的令牌
     */
    private String token;
    /**
     * 权限组
     */
    private Map role;
    /**
     * 房间是否开启审核
     * 1:开启,0:关闭
     */
    @JsonProperty(value = "room_audit_witch")
    private Integer roomAuditWitch;

    @JsonProperty("user_ticket")
    private UserTicketVO userTicket;

}
